/*
 * Copyright (c) 2022, tyustli
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-02-08     tyustli      first implementation
 */

#include <stdio.h>
#include <math.h>

int main(int argc, char **argv)
{
    int value;

    printf("please a num ");
    scanf("%d", &value);

    for(int i = 1; i <= value; i++)
    {
        if(value % i== 0)
            printf("%d is factor %d\r\n", i, value);
    }

    return 0;
}

/******************** end of file **********************/
